package com.lry.web.fiction.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lry.web.fiction.entity.Fiction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface FictionMapper  extends BaseMapper<Fiction> {

    @Select("SELECT count(*) FROM fiction")
    Integer selectNum();





}
